var _scale = 1;
$(function() {
	changeDivHeight();
	function changeDivHeight() {
		var w = $("body").width();
		var h = $("body").height();
		var origeScale = w / h;
		var bgScale = 1920 / 1080;
		
		var _l = -(1920 - w) / 2;
		var _t = -(1080 - h) / 2;

		if(origeScale > bgScale) {
			_scale = h / 1080;
		} else {
			_scale = w / 1920;
		}
		$(".container").css({
			'top': _t,
			'left': _l,
			'transform': 'scale(' + _scale + ')'
		});

	}
	window.onresize = function() {
		changeDivHeight();
	}
})